package com.yonyou.cyxdms.basedata.client.service.basedata;

import com.yonyou.cyxdms.basedata.client.domains.vo.*;

import java.util.List;

/**
 * 短信或问卷
 *
 * @author renwd
 * @since 2019/9/24
 */
public interface SmsAndQuestionaireService {

    /**
     * 根据短信id查询短信信息
     *
     * @param smsTemplateId
     * @return com.yonyou.cyxdms.basedata.client.domains.vo.SmsTemplateVO
     * @author renwd
     * @since 2019/9/25
     */
    SmsTemplateVO getSmsInfoById(Long smsTemplateId);

    /**
     * 根据问卷id查询问卷信息
     *
     * @param questionaireId
     * @return com.yonyou.cyxdms.basedata.client.domains.vo.QuestionaireVO
     * @author renwd
     * @since 2019/9/25
     */
    QuestionaireVO getQuestionaireById(Long questionaireId);

    /**
     * 根据questionIdList，questionnaireId查询问卷信息列表
     *
     * @param questionnaireId
     * @return java.util.List<com.yonyou.cyxdms.basedata.service.entity.questionaire.CareQuestionVO>
     * @author dengqinag
     * @since 2019/10/11
     */
    List<CareQuestionVO> queryQuestionByCondition(List<Long> questionIdList, Long questionnaireId);


    /**
     * 根据answerGroupId查询答案列表
     *
     * @param answerGroupId
     * @return java.util.List<com.yonyou.cyxdms.basedata.client.domains.vo.AnswerVO>
     * @author dengqiang
     * @since 2019/10/13
     */
    public List<AnswerVO> queryAnswerList(Long answerGroupId);

    /**
     * 根据问卷ID获取问卷列表信息
     *
     * @param questionnaireId 问卷ID
     * @return
     * @author ysj
     * @date 2019/11/13
     */
    List<QuestionVisitInfoVO> queryQuestionVisitInfo(Long questionnaireId);

}
